package com.mdd.common.entity.course;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 课程学习实体
 * @author panweiliang
 */
@Data
@TableName("ls_study_course")
public class StudyCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    private Integer id; // 
    private Integer userId; // 用户id
    private Integer courseId; // 课程id
    private Integer sourceId; // 来源订单
    private Integer status; //1：未开始；2:学习中；3:学习完成
    private Long createTime; // 创建时间
    private Long updateTime; // 更新时间
    private Long deleteTime; // 删除时间

}